package com.shop.bean;

import java.sql.Timestamp;

public class SmallType {
    private Integer id;
    private Integer bigId;
    private String smallName;
    private Timestamp createTime;

    public SmallType() {
    }

    public SmallType(Integer id, Integer bigId, String smallName, Timestamp createTime) {
        this.id = id;
        this.bigId = bigId;
        this.smallName = smallName;
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "SmallType{" +
                "id=" + id +
                ", bigId=" + bigId +
                ", smallName='" + smallName + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBigId() {
        return bigId;
    }

    public void setBigId(Integer bigId) {
        this.bigId = bigId;
    }

    public String getSmallName() {
        return smallName;
    }

    public void setSmallName(String smallName) {
        this.smallName = smallName;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
}
